package entity;

public class Admin {
	private int id;
	private String username;
	private String password;
	private String salt;
	private String last_login_entered;
	private String login_entered;
	private String date_entered;
	private String login_ip;
	private String role_id;
	private Role role;
	private int status;
	private int times;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public String getLast_login_entered() {
		return last_login_entered;
	}
	public void setLast_login_entered(String lastLoginEntered) {
		last_login_entered = lastLoginEntered;
	}
	public String getLogin_entered() {
		return login_entered;
	}
	public void setLogin_entered(String loginEntered) {
		login_entered = loginEntered;
	}
	public String getDate_entered() {
		return date_entered;
	}
	public void setDate_entered(String dateEntered) {
		date_entered = dateEntered;
	}
	public String getLogin_ip() {
		return login_ip;
	}
	public void setLogin_ip(String loginIp) {
		login_ip = loginIp;
	}
	public String getRole_id() {
		return role_id;
	}
	public void setRole_id(String roleId) {
		role_id = roleId;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
	@Override
	public String toString() {
		return "Admin [date_entered=" + date_entered + ", id=" + id
				+ ", last_login_entered=" + last_login_entered
				+ ", login_entered=" + login_entered + ", login_ip=" + login_ip
				+ ", password=" + password + ", role=" + role + ", role_id="
				+ role_id + ", salt=" + salt + ", status=" + status
				+ ", times=" + times + ", username=" + username + "]";
	}
	
}
